package com.linln.modules.insurance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * @author : pengliang
 * @version V1.0
 * @Project: timo
 * @Package com.linln.modules.userule.domain
 * @Descriptio /**
 * @Project: timo
 * @Package com.linln.modules.userule.domain
 * @Description: TODO
 * @date Date : 2020年12月29日 14:23
 */
@TableName(value = "tbl_Insurance_offer")
public class InsuranceOffer {
    /**
     * 报价id
     */
    @TableId(value = "io_id", type = IdType.UUID)
    private String ioId;

    /**
     * 车主姓名
     */
    @TableField(value = "owner_name")
    private String ownerName;

    /**
     * 车主电话
     */
    @TableField(value = "owner_phone")
    private String ownerPhone;

    /**
     * 车牌
     */
    @TableField(value = "plate")
    private String plate;

    /**
     * 询价时间
     */
    @TableField(value = "create_date")
    private String createDate;

    /**
     * 报价时间
     */
    @TableField(value = "offer_date")
    private String offerDate;

    /**
     * 报价人id
     */
    @TableField(value = "offer_people_id")
    private String offerPeopleId;
    /**
     * 报价人name
     */
    @TableField(value = "offer_people_name", exist = false)
    private String offerPeopleName;
    /**
     * 是否是过户车
     */
    @TableField(value = "is_transfer")
    private Boolean isTransfer;

    /**
     * 状态 0待报价 1已报价
     */
    @TableField(value = "status")
    private Boolean status;

    /**
     * 保险公司名称
     */
    @TableField(value = "insurance_name")
    private String insuranceName;

    public static final String COL_IO_ID = "io_id";

    public static final String COL_OWNER_NAME = "owner_name";

    public static final String COL_OWNER_PHONE = "owner_phone";

    public static final String COL_PLATE = "plate";

    public static final String COL_CREATE_DATE = "create_date";

    public static final String COL_OFFER_DATE = "offer_date";

    public static final String COL_OFFER_PEOPLE_ID = "offer_people_id";

    public static final String COL_IS_TRANSFER = "is_transfer";

    public static final String COL_STATUS = "status";

    /**
     * 获取报价id
     *
     * @return io_id - 报价id
     */
    public String getIoId() {
        return ioId;
    }

    /**
     * 设置报价id
     *
     * @param ioId 报价id
     */
    public void setIoId(String ioId) {
        this.ioId = ioId;
    }

    /**
     * 获取车主姓名
     *
     * @return owner_name - 车主姓名
     */
    public String getOwnerName() {
        return ownerName;
    }

    /**
     * 设置车主姓名
     *
     * @param ownerName 车主姓名
     */
    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    /**
     * 获取车主电话
     *
     * @return owner_phone - 车主电话
     */
    public String getOwnerPhone() {
        return ownerPhone;
    }

    /**
     * 设置车主电话
     *
     * @param ownerPhone 车主电话
     */
    public void setOwnerPhone(String ownerPhone) {
        this.ownerPhone = ownerPhone;
    }

    /**
     * 获取车牌
     *
     * @return plate - 车牌
     */
    public String getPlate() {
        return plate;
    }

    /**
     * 设置车牌
     *
     * @param plate 车牌
     */
    public void setPlate(String plate) {
        this.plate = plate;
    }

    /**
     * 获取询价时间
     *
     * @return create_date - 询价时间
     */
    public String getCreateDate() {
        return createDate;
    }

    /**
     * 设置询价时间
     *
     * @param createDate 询价时间
     */
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取报价时间
     *
     * @return offer_date - 报价时间
     */
    public String getOfferDate() {
        return offerDate;
    }

    /**
     * 设置报价时间
     *
     * @param offerDate 报价时间
     */
    public void setOfferDate(String offerDate) {
        this.offerDate = offerDate;
    }

    /**
     * 获取报价人
     *
     * @return offer_people_id - 报价人
     */
    public String getOfferPeopleId() {
        return offerPeopleId;
    }

    /**
     * 设置报价人
     *
     * @param offerPeopleId 报价人
     */
    public void setOfferPeopleId(String offerPeopleId) {
        this.offerPeopleId = offerPeopleId;
    }

    /**
     * 获取是否是过户车
     *
     * @return is_transfer - 是否是过户车
     */
    public Boolean getIsTransfer() {
        return isTransfer;
    }

    /**
     * 设置是否是过户车
     *
     * @param isTransfer 是否是过户车
     */
    public void setIsTransfer(Boolean isTransfer) {
        this.isTransfer = isTransfer;
    }

    /**
     * 获取状态 0待报价 1已报价
     *
     * @return status - 状态 0待报价 1已报价
     */
    public Boolean getStatus() {
        return status;
    }

    /**
     * 设置状态 0待报价 1已报价
     *
     * @param status 状态 0待报价 1已报价
     */
    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getOfferPeopleName() {
        return offerPeopleName;
    }

    public void setOfferPeopleName(String offerPeopleName) {
        this.offerPeopleName = offerPeopleName;
    }


    public String getInsuranceName() {
        return insuranceName;
    }

    public void setInsuranceName(String insuranceName) {
        this.insuranceName = insuranceName;
    }
}
